package com.sabastian.springframework.context;

import com.sabastian.springframework.beans.BeansException;
import com.sabastian.springframework.beans.factory.Aware;
import com.sabastian.springframework.context.ApplicationContext;

/**
 * @author Ciel Phantomhive
 * @description 既能感知到所属的 ApplicationContext
 * @date 2023/1/23 21:47
 */
public interface ApplicationContextAware extends Aware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
